package com.lyw.db.dao

import androidx.room.Dao
import androidx.room.Insert
import androidx.room.Query
import com.lyw.db.entites.Knowledge
import com.lyw.db.entites.Wisecrack

@Dao
interface WisecrackDao {
    @Query("SELECT * FROM wisecrack")
    fun getAllWisecracks(): List<Wisecrack>


    @Insert
    fun insertAll(vararg wisecrack: Knowledge)

    @Insert
    fun insertAll( wisecracks: List<Wisecrack>)
}